package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.WarehouseRegionEntity;

/**
 * 仓库区域Service接口
 * 
 * @author wutao
 * @date 2024-05-27
 */
public interface IWarehouseRegionService extends IService<WarehouseRegionEntity> {
    /**
     * 查询仓库区域
     * 
     * @param id 仓库区域ID
     * @return 仓库区域
     */
    public WarehouseRegionEntity selectWarehouseRegionById(String id);

    /**
     * 查询仓库区域列表
     * 
     * @param warehouseRegion 仓库区域
     * @return 仓库区域集合
     */
    public List<WarehouseRegionEntity> selectWarehouseRegionList(WarehouseRegionEntity warehouseRegion);

    /**
     * 新增仓库区域
     * 
     * @param warehouseRegion 仓库区域
     * @return 结果
     */
    public int insertWarehouseRegion(WarehouseRegionEntity warehouseRegion);

    /**
     * 修改仓库区域
     * 
     * @param warehouseRegion 仓库区域
     * @return 结果
     */
    public int updateWarehouseRegion(WarehouseRegionEntity warehouseRegion);

    /**
     * 批量删除仓库区域
     * 
     * @param ids 需要删除的仓库区域ID
     * @return 结果
     */
    public int deleteWarehouseRegionByIds(String[] ids);

    /**
     * 删除仓库区域信息
     * 
     * @param id 仓库区域ID
     * @return 结果
     */
    public int deleteWarehouseRegionById(String id);
}
